package com.mmall.pojo;

import java.util.Date;

public class Skill {
    private Integer id;

    private Integer type;

    private String name;

    private Integer userId;

    private Integer progress;

    private String subTitle;

    private Date createTime;

    private Date updateTime;

    public Skill(Integer id, Integer type, String name, Integer userId, Integer progress, String subTitle, Date createTime, Date updateTime) {
        this.id = id;
        this.type = type;
        this.name = name;
        this.userId = userId;
        this.progress = progress;
        this.subTitle = subTitle;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Skill() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle == null ? null : subTitle.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}